package com.example.pro1.entity.zhao;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
@TableName("logistics")
public class Logistics extends BaseEntity{

    //快递单号
    @TableId(value = "logistic_code" ,type =IdType.INPUT)
    private String LogisticCode;
    //快递商家
    @TableField("shipper_code")
    private String ShipperCode;
    //用户openid
    @TableField("cid")
    private String User;
    //状态
    @TableField("status")
    private String Status;
    //订单id（外键）
    @TableField("orderId")
    private String orderId;
}
